package com.lagou.bean;

import com.lagou.service.TimeService;
import org.apache.commons.lang3.RandomUtils;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

@Component
public class CounsumerComponet {

    @Reference/*(async = true)*/
    private TimeService timeService;

    public void methodA() {
        String s = timeService.methodA();
    }

    public void methodB() {
        String s = timeService.methodB();
    }

    public void methodC() {
        String s = timeService.methodC();
    }

}
